package com.atguigu.spzx.user.service;

import com.atguigu.spzx.model.dto.user.UserRegistDto;
import com.atguigu.spzx.model.entity.user.UserInfo;
import com.atguigu.spzx.model.vo.user.UserInfoVo;

public interface UserInfoService {
    void register(UserRegistDto userRegistDto);

    String login(UserInfo userInfo);

    UserInfoVo getCurrentUserInfo(String token);

    void logout();
}
